</head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
Import Sản Phẩm vào database

<?php

include_once("../DataProvider.php");
$sql="LOAD DATA LOCAL INFILE '../database/sanpham.csv' INTO TABLE sanpham FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' IGNORE 1 LINES ;";
$kq=DataProvider::ExecuteQuery($sql);
if($kq)
	echo "<head>
<meta http-equiv='refresh' content='0;URL= index.php'>

</head>";
else
	echo "That Bai";
/**/
?>